package dgut.haitaobao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import dgut.haitaobao.entry.ShoppingCart;
import dgut.haitaobao.entry.ShoppingCartVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.stream.BaseStream;

@Mapper
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {
    public List<ShoppingCartVO> getShoppingCartsByUserId(String userId);

    public List<ShoppingCart> getShoppingCartsByCartIds(List<Integer> cartIds);
}
